﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HB.MsgBus.MsgBusItem
{
    /// <summary>
    /// 调用发布信息
    /// </summary>
    public class PublishInfo : EventRouterItemBase
    {
        /// <summary>
        /// 委托名称
        /// </summary>
        public string DelegateName { get; set; }
        /// <summary>
        /// 调用发布的文件名
        /// </summary>
        public string PublishFilePath { get; internal set; }
        /// <summary>
        /// 调用发布的代码行数
        /// </summary>
        public int PublishLineNumber { get; internal set; }
        /// <summary>
        /// 调用发布的函数名
        /// </summary>
        public string PublishFunctionName { get; internal set; }
        public Exception Exception { get; set; }
    }
}
